<template>
  <div class="outline-info">
    <div class="outline-info-title">基本信息</div>
    <ul class="outline-info-list">
      <li>
        <span>项目编号：</span>
        <span>{{ detail.code || "--" }}</span>
      </li>
      <li>
        <span>项目名称：</span>
        <span>{{ detail.name || "--" }}</span>
      </li>
      <li>
        <span>项目经理：</span>
        <span>{{ detail.userName || "--" }}</span>
      </li>
    </ul>
    <ul class="outline-info-list">
      <!-- <li>
        <span>合同日期：</span>
        <span>
          {{ detail?.orderModel?.contractSignTime ? dayJs(detail?.orderModel?.contractSignTime).format("YYYY/MM/DD") : "--" }}
        </span>
      </li> -->
      <!-- <li>
        <span>发货日期：</span>
        <span>2024/7/12</span>
      </li> -->
      <!-- <li>
        <span>制表日期：</span>
        <span>2024/7/12</span>
      </li> -->
    </ul>
  </div>
</template>
<script setup lang="ts">
// import dayJs from "dayjs";
// 变量
defineProps({
  detail: {
    type: Object,
    default: () => {}
  }
});
</script>
<style lang="scss" scoped>
.outline-info {
  ul,
  li {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  &-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
  }
  &-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
    margin-bottom: 10px !important;
    li {
      font-size: 14px;
      font-weight: 400;
      span:first-child {
        margin-right: 10px;
        color: #666666;
      }
      span:last-child {
        color: #333333;
      }
    }
  }
}
</style>
